20250726_030959.555 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.556 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250726_030959.556 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) 20250726_030959.556 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.560 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.561 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.561 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.562 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41NjFaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJiMjgxNmMwNS02ZmMxLTRiNTMtOWU5Zi0zNzVkNGU0MmU5OWQiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.562 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.561Z", "policies_count": 4, "update_id": "b2816c05-6fc1-4b53-9e9f-375d4e42e99d", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.563 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.561Z", "policies_count": 4, "update_id": "b2816c05-6fc1-4b53-9e9f-375d4e42e99d", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.563 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.563 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.563 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}] 20250726_030959.564 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.561Z", "policies_count": 4, "update_id": "b2816c05-6fc1-4b53-9e9f-375d4e42e99d", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.564 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20250726_030959.564 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}} 20250726_030959.564 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}], "duplicate": []} 20250726_030959.565 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.561Z", "policies_count": 4, "update_id": "b2816c05-6fc1-4b53-9e9f-375d4e42e99d", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.565 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.561Z", "policies_count": 4, "update_id": "b2816c05-6fc1-4b53-9e9f-375d4e42e99d", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.565 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.566 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.566 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.582 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.583 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.583 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.584 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41ODNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIzNTViNzIzZi0wMjUxLTQ1NjYtODk1Mi04Y2ZiNTllODU0NzMiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.584 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.583Z", "policies_count": 4, "update_id": "355b723f-0251-4566-8952-8cfb59e85473", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.584 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.583Z", "policies_count": 4, "update_id": "355b723f-0251-4566-8952-8cfb59e85473", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.585 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.585 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.585 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250726_030959.585 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}} 20250726_030959.585 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250726_030959.585 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}} 20250726_030959.586 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}} 20250726_030959.586 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.586 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}} 20250726_030959.586 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.596 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.597 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.597 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.598 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41OTdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIyNTQ4YjliYi00ZGY0LTQxOTQtYjI4ZC0xYzZkOTFkNmQ5MTYiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.598 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.597Z", "policies_count": 4, "update_id": "2548b9bb-4df4-4194-b28d-1c6d91d6d916", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.598 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.597Z", "policies_count": 4, "update_id": "2548b9bb-4df4-4194-b28d-1c6d91d6d916", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.598 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.599 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.608 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.609 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.609 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.609 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42MDlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI4Y2QxMjA1NS01ZTVlLTRhMGQtOWVkOS1hOTcyZjhkN2I2YjQiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.610 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.609Z", "policies_count": 4, "update_id": "8cd12055-5e5e-4a0d-9ed9-a972f8d7b6b4", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.610 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.609Z", "policies_count": 4, "update_id": "8cd12055-5e5e-4a0d-9ed9-a972f8d7b6b4", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.610 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.610 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}] 20250726_030959.611 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250726_030959.611 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.609Z", "policies_count": 4, "update_id": "8cd12055-5e5e-4a0d-9ed9-a972f8d7b6b4", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.611 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250726_030959.612 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}} 20250726_030959.612 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42MTJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI5YTgxZmI1NC05ZmY0LTQwOTYtOTlmMy03MjQxMTViOTlkMTAiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04ifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250726_030959.612 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.613 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.612Z", "policies_count": 4, "update_id": "9a81fb54-9ff4-4096-99f3-724115b99d10", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.613 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250726_030959.613 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.613 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.614 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.614 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250726_030959.614 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.614 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250726_030959.614 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.629 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.630 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.630 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.630 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.630 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}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "exe_task": "node_configure"} 20250726_030959.630 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250726_030959.630 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.635 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250726_030959.635 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.636 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/"}}] 20250726_030959.636 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.636 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.636 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.637 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.644 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.645 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.646 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.646 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42NDZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI1NjZjOTYxOS0xYjNhLTRjYWUtYmI0Ny1jODE0OWJhMGI1MWYiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.646 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.646Z", "policies_count": 4, "update_id": "566c9619-1b3a-4cae-bb47-c8149ba0b51f", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.647 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.646Z", "policies_count": 4, "update_id": "566c9619-1b3a-4cae-bb47-c8149ba0b51f", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.647 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.647 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.646Z", "policies_count": 4, "update_id": "566c9619-1b3a-4cae-bb47-c8149ba0b51f", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.647 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20250726_030959.648 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250726_030959.648 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42NDhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJjNzI3OTUxOC1mM2RhLTQzNzAtYjFlNS00ZGFjOTBkNGFmNzUiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20250726_030959.648 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.649 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.648Z", "policies_count": 0, "update_id": "c7279518-f3da-4370-b1e5-4dac90d4af75", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.649 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20250726_030959.649 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.648Z", "policies_count": 0, "update_id": "c7279518-f3da-4370-b1e5-4dac90d4af75", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.649 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.649 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.664 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.665 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.665 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.665 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42NjVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxODZmZDRiYy1jOTAxLTQwMGMtOGE3YS0yNTUzNGU3NGZiM2MiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.666 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.665Z", "policies_count": 4, "update_id": "186fd4bc-c901-400c-8a7a-25534e74fb3c", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.666 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.665Z", "policies_count": 4, "update_id": "186fd4bc-c901-400c-8a7a-25534e74fb3c", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.666 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.667 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.665Z", "policies_count": 4, "update_id": "186fd4bc-c901-400c-8a7a-25534e74fb3c", "action": "gathered"}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.667 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/"}}] 20250726_030959.667 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.667 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.668 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.665Z", "policies_count": 4, "update_id": "186fd4bc-c901-400c-8a7a-25534e74fb3c", "action": "gathered"}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.668 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.682 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.683 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.683 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.683 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42ODNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIzMDY3ODU5YS1lZGJiLTQ0ZjAtOGFlZS03ZmRmMmJkZDJiMTIiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.684 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.683Z", "policies_count": 4, "update_id": "3067859a-edbb-44f0-8aee-7fdf2bdd2b12", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.684 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.683Z", "policies_count": 4, "update_id": "3067859a-edbb-44f0-8aee-7fdf2bdd2b12", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.684 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.684 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}] 20250726_030959.684 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250726_030959.685 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.683Z", "policies_count": 4, "update_id": "3067859a-edbb-44f0-8aee-7fdf2bdd2b12", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.685 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250726_030959.685 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}} 20250726_030959.686 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS42ODVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwMzVjMTM2YS02ZjE0LTRiNmEtYTUwYy0yZWI1MWEwMmRmZGYiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250726_030959.686 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.687 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.685Z", "policies_count": 4, "update_id": "035c136a-6f14-4b6a-a50c-2eb51a02dfdf", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.687 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250726_030959.687 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.687 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.687 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.687 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250726_030959.688 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.688 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250726_030959.688 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.703 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250726_030959.704 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.704 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/"}}] 20250726_030959.704 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.704 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.705 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.705 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.713 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.714 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.714 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.715 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS43MTRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwYTI4MzNmYi04NDNmLTQzMGUtODA0Yy0xN2EyYWY5YzFhZGEiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.715 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.714Z", "policies_count": 4, "update_id": "0a2833fb-843f-430e-804c-17a2af9c1ada", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.715 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.714Z", "policies_count": 4, "update_id": "0a2833fb-843f-430e-804c-17a2af9c1ada", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.715 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.716 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}] 20250726_030959.716 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250726_030959.716 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.714Z", "policies_count": 4, "update_id": "0a2833fb-843f-430e-804c-17a2af9c1ada", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.716 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250726_030959.717 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}} 20250726_030959.717 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS43MTdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmZDAzN2JjOS1mNTRmLTQ5NWUtOTllMi00MTAxZDY3NDM1NTYiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250726_030959.717 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.718 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.717Z", "policies_count": 4, "update_id": "fd037bc9-f54f-495e-99e2-4101d6743556", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.718 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250726_030959.718 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.718 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.719 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.719 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250726_030959.719 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.719 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250726_030959.719 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.734 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 20250726_030959.734 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.737 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.737 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250726_030959.737 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) 20250726_030959.737 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.740 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 20250726_030959.741 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.744 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.745 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.745 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.746 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS43NDZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI3ZGE2MGUyZi0yMTU4LTRjYmItYjE2Ni02ZDcxZmZlZGY4MDYiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.746 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.746Z", "policies_count": 4, "update_id": "7da60e2f-2158-4cbb-b166-6d71ffedf806", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.747 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.746Z", "policies_count": 4, "update_id": "7da60e2f-2158-4cbb-b166-6d71ffedf806", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.747 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.747 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.746Z", "policies_count": 4, "update_id": "7da60e2f-2158-4cbb-b166-6d71ffedf806", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.747 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20250726_030959.748 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250726_030959.748 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS43NDhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI3ZTM5MzRmZS03NWFiLTQ1ZTUtOTg4OS0xOTVjYTA1YmMzYWQiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20250726_030959.748 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.749 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.748Z", "policies_count": 0, "update_id": "7e3934fe-75ab-45e5-9889-195ca05bc3ad", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.749 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.748Z", "policies_count": 0, "update_id": "7e3934fe-75ab-45e5-9889-195ca05bc3ad", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.750 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20250726_030959.750 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250726_030959.750 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.748Z", "policies_count": 0, "update_id": "7e3934fe-75ab-45e5-9889-195ca05bc3ad", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.750 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20250726_030959.751 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.748Z", "policies_count": 0, "update_id": "7e3934fe-75ab-45e5-9889-195ca05bc3ad", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.751 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.768 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.768 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250726_030959.769 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.769 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250726_030959.769 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.773 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250726_030959.774 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.774 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.774 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.775 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.775 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.782 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.783 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.783 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.784 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS43ODNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxMmFkNWIzMy1mN2VhLTRkMjctOGUyZC02ZTZhODRhZTYwMjYiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.785 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.783Z", "policies_count": 4, "update_id": "12ad5b33-f7ea-4d27-8e2d-6e6a84ae6026", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.785 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.783Z", "policies_count": 4, "update_id": "12ad5b33-f7ea-4d27-8e2d-6e6a84ae6026", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.786 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.786 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}] 20250726_030959.786 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250726_030959.786 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.783Z", "policies_count": 4, "update_id": "12ad5b33-f7ea-4d27-8e2d-6e6a84ae6026", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.787 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250726_030959.787 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}} 20250726_030959.787 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS43ODdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlODQxZDI5Ny1hYjRjLTQ2OGUtYWY0MC1iZDhmMDQ1ZDZkM2EiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250726_030959.788 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.788 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.787Z", "policies_count": 4, "update_id": "e841d297-ab4c-468e-af40-bd8f045d6d3a", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.788 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250726_030959.789 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.789 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.789 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.789 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}} 20250726_030959.789 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}} 20250726_030959.789 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}} 20250726_030959.790 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.804 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.805 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.806 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.806 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44MDZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI1ZWVhOGQwNS1kMGNiLTQ1MTYtODcxOC1hZDRlODBhZDdlOTQiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.806 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.806Z", "policies_count": 4, "update_id": "5eea8d05-d0cb-4516-8718-ad4e80ad7e94", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.807 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.806Z", "policies_count": 4, "update_id": "5eea8d05-d0cb-4516-8718-ad4e80ad7e94", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.807 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.807 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.806Z", "policies_count": 4, "update_id": "5eea8d05-d0cb-4516-8718-ad4e80ad7e94", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.807 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20250726_030959.808 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250726_030959.808 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44MDhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI5NTA3MGM4Mi1mZTcyLTRiYjctYmEzNS1kYjI3Y2IxZDZlYjQiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20250726_030959.809 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.809 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.808Z", "policies_count": 0, "update_id": "95070c82-fe72-4bb7-ba35-db27cb1d6eb4", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.809 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}] 20250726_030959.809 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250726_030959.810 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.808Z", "policies_count": 0, "update_id": "95070c82-fe72-4bb7-ba35-db27cb1d6eb4", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.810 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250726_030959.810 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}} 20250726_030959.810 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44MTBaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIxNmUwODAxNi1kN2NjLTQxMjktOWYwNy01ZjE3NTFhNTI4N2MiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250726_030959.811 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.811 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.810Z", "policies_count": 2, "update_id": "16e08016-d7cc-4129-9f07-5f1751a5287c", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.811 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250726_030959.812 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.812 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.812 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.829 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.830 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.830 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.830 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.830 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "exe_task": "node_configure"} 20250726_030959.830 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250726_030959.830 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.835 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.836 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.837 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.837 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44MzdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI5MDQxOTM3Yi02ZTBhLTQwMTktOGY3Mi1hZjg5NWZjYWI1YWMiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.837 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.837Z", "policies_count": 4, "update_id": "9041937b-6e0a-4019-8f72-af895fcab5ac", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.838 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.837Z", "policies_count": 4, "update_id": "9041937b-6e0a-4019-8f72-af895fcab5ac", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.838 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.838 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.837Z", "policies_count": 4, "update_id": "9041937b-6e0a-4019-8f72-af895fcab5ac", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.838 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20250726_030959.839 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250726_030959.839 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44MzlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI4Yjc1YzZmZC1hMTc3LTQxM2QtYjk1MC00OWE2YzczZGNmODQiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20250726_030959.839 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.840 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.839Z", "policies_count": 0, "update_id": "8b75c6fd-a177-413d-b950-49a6c73dcf84", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.840 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250726_030959.840 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}] 20250726_030959.840 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250726_030959.841 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.839Z", "policies_count": 0, "update_id": "8b75c6fd-a177-413d-b950-49a6c73dcf84", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.841 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250726_030959.841 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}} 20250726_030959.841 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44NDFaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI1MGE2MWExOC0xZjM0LTRkNWYtYmFhMS0zNTIzZWU5NzNjYTgiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwNDowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250726_030959.842 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.842 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.841Z", "policies_count": 2, "update_id": "50a61a18-1f34-4d5f-baa1-3523ee973ca8", "action": "updated"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.843 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250726_030959.843 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.843 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}} 20250726_030959.843 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.862 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250726_030959.863 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.863 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250726_030959.863 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.863 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.863 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.864 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.871 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250726_030959.871 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.872 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/"}}] 20250726_030959.872 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.872 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.872 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.873 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.880 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250726_030959.880 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.881 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/"}}] 20250726_030959.881 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.881 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.881 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.882 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250726_030959.889 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.890 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.890 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.891 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS44OTBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmNGQ0MWViOC0wZGYyLTRkMzYtOWU5OC0yMmFkZTBjZDdiOGEiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDY6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0yNlQwMzowOTo1OS41MzNaIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMjZUMDQ6MDk6NTkuNTMzWiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTI2VDA2OjA5OjU5LjUzM1oiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250726_030959.891 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.890Z", "policies_count": 4, "update_id": "f4d41eb8-0df2-4d36-9e98-22ade0cd7b8a", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.891 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.890Z", "policies_count": 4, "update_id": "f4d41eb8-0df2-4d36-9e98-22ade0cd7b8a", "action": "gathered"}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}} 20250726_030959.892 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}} 20250726_030959.892 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.890Z", "policies_count": 4, "update_id": "f4d41eb8-0df2-4d36-9e98-22ade0cd7b8a", "action": "gathered"}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.892 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/"}}] 20250726_030959.892 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250726_030959.893 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"} 20250726_030959.893 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_queue": null, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}}, "name": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}}}, "service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-07-26T03:09:59.890Z", "policies_count": 4, "update_id": "f4d41eb8-0df2-4d36-9e98-22ade0cd7b8a", "action": "gathered"}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "db_port": "123"}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_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_b_node_id": {"policy_filter_id": "dcae_policies_b_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"}}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-07-26T05:09:59.533Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "type": "JSON"}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-07-26T03:09:59.533Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-07-26T04:09:59.533Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "type": "JSON"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-07-26T06:09:59.533Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "type": "JSON"}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-07-26T07:09:59.533Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "type": "JSON"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": "", "package_version": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "task_target": null, "type": "node-instance"} 20250726_030959.893 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear