20250920_070502.217 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.218 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.218 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.219 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMjE4WiIsICJ1cGRhdGVfaWQiOiAiMGRkMWIzYmYtYjZlYy00ZmQ4LWJiMDYtOTI2NDU1NjI0NDI1In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.219 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.218Z", "update_id": "0dd1b3bf-b6ec-4fd8-bb06-926455624425"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.220 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.218Z", "update_id": "0dd1b3bf-b6ec-4fd8-bb06-926455624425"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.220 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.220 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_070502.220 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_070502.220 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.218Z", "update_id": "0dd1b3bf-b6ec-4fd8-bb06-926455624425"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.221 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_070502.221 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_070502.221 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4yMjFaIiwgInVwZGF0ZV9pZCI6ICI1YThjYjlkNC0yNDljLTRlYmQtYTBmNS1hMWE5ZGQwZmMyYjEifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.222 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.222 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.221Z", "update_id": "5a8cb9d4-249c-4ebd-a0f5-a1a9dd0fc2b1"}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.222 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250920_070502.222 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_070502.223 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.223 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.223 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.223 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.223 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_070502.223 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.233 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.234 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.234 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.235 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMjM1WiIsICJ1cGRhdGVfaWQiOiAiNDVlMTE1OGMtYzMwMS00NDg1LThkNzYtNDE5M2QyMmQ5MjRkIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.235 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.235Z", "update_id": "45e1158c-c301-4485-8d76-4193d22d924d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.236 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.235Z", "update_id": "45e1158c-c301-4485-8d76-4193d22d924d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.236 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.236 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.236 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi_3"}] 20250920_070502.237 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.235Z", "update_id": "45e1158c-c301-4485-8d76-4193d22d924d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.237 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20250920_070502.237 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}} 20250920_070502.237 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}]} 20250920_070502.238 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.235Z", "update_id": "45e1158c-c301-4485-8d76-4193d22d924d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.238 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.235Z", "update_id": "45e1158c-c301-4485-8d76-4193d22d924d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.238 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.239 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.239 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.255 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.256 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.257 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.257 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMjU3WiIsICJ1cGRhdGVfaWQiOiAiOWFkNDAyMzctNWNhZi00YmU2LWEzYWItZTU2YTM4YjUyZmJhIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.257 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.257Z", "update_id": "9ad40237-5caf-4be6-a3ab-e56a38b52fba"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.258 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.257Z", "update_id": "9ad40237-5caf-4be6-a3ab-e56a38b52fba"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.258 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.258 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.257Z", "update_id": "9ad40237-5caf-4be6-a3ab-e56a38b52fba"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.259 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250920_070502.259 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_070502.259 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4yNTlaIiwgInVwZGF0ZV9pZCI6ICIzNjFlYWFmYS0wNmQ4LTQyNmUtYjI0ZC02MGJhZDAxODBjODQifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250920_070502.260 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.260 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.259Z", "update_id": "361eaafa-06d8-426e-b24d-60bad0180c84"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.260 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_070502.260 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_070502.261 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.259Z", "update_id": "361eaafa-06d8-426e-b24d-60bad0180c84"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.261 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_070502.261 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_070502.262 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4yNjFaIiwgInVwZGF0ZV9pZCI6ICJiZmFlYzQ2MS1mOTliLTQ2NTUtYjFhOS00ZWI4YmQ0OTAzY2IifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250920_070502.262 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.262 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 2, "timestamp": "2025-09-20T07:05:02.261Z", "update_id": "bfaec461-f99b-4655-b1a9-4eb8bd4903cb"}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.263 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250920_070502.263 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_070502.263 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.263 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.282 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.283 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.283 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.284 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMjg0WiIsICJ1cGRhdGVfaWQiOiAiOWVmN2UyMWMtZmEzZi00MGIyLWExM2YtNjE1NTMzYmQyZGYyIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.284 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.284Z", "update_id": "9ef7e21c-fa3f-40b2-a13f-615533bd2df2"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.284 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.284Z", "update_id": "9ef7e21c-fa3f-40b2-a13f-615533bd2df2"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.285 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.285 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.284Z", "update_id": "9ef7e21c-fa3f-40b2-a13f-615533bd2df2"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.285 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250920_070502.286 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_070502.286 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4yODZaIiwgInVwZGF0ZV9pZCI6ICI3MDA0MzM5ZS04YzI1LTQyYjQtYjcwOS01ODJhNmM0YjJkMzEifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250920_070502.286 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.287 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.286Z", "update_id": "7004339e-8c25-42b4-b709-582a6c4b2d31"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.287 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20250920_070502.287 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.286Z", "update_id": "7004339e-8c25-42b4-b709-582a6c4b2d31"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.287 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.287 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.303 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.304 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.304 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.304 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMzA0WiIsICJ1cGRhdGVfaWQiOiAiODc2NWJjOTEtZWE5NS00ZWM0LWIyYTUtNDQwNDRiY2QwNTE0In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.305 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.304Z", "update_id": "8765bc91-ea95-4ec4-b2a5-44044bcd0514"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.305 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.304Z", "update_id": "8765bc91-ea95-4ec4-b2a5-44044bcd0514"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.305 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.306 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.304Z", "update_id": "8765bc91-ea95-4ec4-b2a5-44044bcd0514"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.306 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250920_070502.306 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_070502.306 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4zMDZaIiwgInVwZGF0ZV9pZCI6ICJhZjcyMWY2Ny0yYjQyLTRmM2UtYmI1ZS0yMDQ2MDRhMWM1ZTQifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250920_070502.307 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.307 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.306Z", "update_id": "af721f67-2b42-4f3e-bb5e-204604a1c5e4"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.308 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.306Z", "update_id": "af721f67-2b42-4f3e-bb5e-204604a1c5e4"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.308 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250920_070502.308 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_070502.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.306Z", "update_id": "af721f67-2b42-4f3e-bb5e-204604a1c5e4"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.309 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20250920_070502.309 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.306Z", "update_id": "af721f67-2b42-4f3e-bb5e-204604a1c5e4"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.309 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.309 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.327 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.328 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250920_070502.328 INFO MainThread mock-context-logger.test_exception_on_update: monkeyed_update_policies_boom: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250920_070502.328 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.331 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.332 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.332 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.332 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.332 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250920_070502.332 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250920_070502.333 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.338 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.339 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.339 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.339 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMzM5WiIsICJ1cGRhdGVfaWQiOiAiYTFhNmFjMWUtOGY0NC00ZDAzLWFhNDMtYmM5MWE0ODM0NjRhIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.340 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.339Z", "update_id": "a1a6ac1e-8f44-4d03-aa43-bc91a483464a"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.340 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.339Z", "update_id": "a1a6ac1e-8f44-4d03-aa43-bc91a483464a"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.340 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.341 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.339Z", "update_id": "a1a6ac1e-8f44-4d03-aa43-bc91a483464a"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.341 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20250920_070502.341 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_070502.342 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4zNDFaIiwgInVwZGF0ZV9pZCI6ICJmODJmNGIwOC1hM2U0LTRhNmItODgyYy1lYWI1N2Q4ZmIwYjUifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20250920_070502.342 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.342 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.341Z", "update_id": "f82f4b08-a3e4-4a6b-882c-eab57d8fb0b5"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.343 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_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.343 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_070502.343 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_070502.343 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 0, "timestamp": "2025-09-20T07:05:02.341Z", "update_id": "f82f4b08-a3e4-4a6b-882c-eab57d8fb0b5"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.344 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_070502.344 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_070502.344 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi4zNDRaIiwgInVwZGF0ZV9pZCI6ICI1NmQ4NjVkYi1jMTVhLTQwYzMtODg5Ni0yMGRjZTA2ODUwMGQifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20250920_070502.344 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.345 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 2, "timestamp": "2025-09-20T07:05:02.344Z", "update_id": "56d865db-c15a-40c3-8896-20dce068500d"}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.345 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250920_070502.345 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_070502.345 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.345 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.364 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.364 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250920_070502.364 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.365 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250920_070502.365 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.369 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250920_070502.370 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.370 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250920_070502.370 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.370 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.371 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.371 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.379 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250920_070502.379 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.379 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250920_070502.379 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.380 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.380 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.380 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.388 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250920_070502.388 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.388 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250920_070502.388 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.389 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.389 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.389 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.397 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.398 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.398 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.398 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuMzk4WiIsICJ1cGRhdGVfaWQiOiAiMTBlYTljZTAtOTliNy00NjAwLTlkMzUtMWNmOGFlMzIzOTBkIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.399 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.398Z", "update_id": "10ea9ce0-99b7-4600-9d35-1cf8ae32390d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.399 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.398Z", "update_id": "10ea9ce0-99b7-4600-9d35-1cf8ae32390d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.399 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.400 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_070502.400 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_070502.400 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.398Z", "update_id": "10ea9ce0-99b7-4600-9d35-1cf8ae32390d"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.400 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_070502.401 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_070502.401 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi40MDFaIiwgInVwZGF0ZV9pZCI6ICJiNzI3Njc3ZS1jNDNkLTRjYTEtODdlZi1lMDE5YTU0MTYyZTgifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.402 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.402 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.401Z", "update_id": "b727677e-c43d-4ca1-87ef-e019a54162e8"}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.402 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250920_070502.402 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_070502.402 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.403 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.403 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.403 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.403 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_070502.403 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.419 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.420 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.420 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.420 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuNDIwWiIsICJ1cGRhdGVfaWQiOiAiMzQxY2Y2NDYtMjJkNS00MjA3LTg3ZjAtYjY0Y2QzZDdhNjZiIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.421 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.420Z", "update_id": "341cf646-22d5-4207-87f0-b64cd3d7a66b"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.421 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.420Z", "update_id": "341cf646-22d5-4207-87f0-b64cd3d7a66b"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.421 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.421 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_070502.422 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_070502.422 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.420Z", "update_id": "341cf646-22d5-4207-87f0-b64cd3d7a66b"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.422 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_070502.423 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_070502.423 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi40MjNaIiwgInVwZGF0ZV9pZCI6ICJkMzc0ZmI0MC1lYzM5LTQyZWUtOGIwMS0wYmM0NzM0ZGQ1YWUifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.423 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.424 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.423Z", "update_id": "d374fb40-ec39-42ee-8b01-0bc4734dd5ae"}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.424 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250920_070502.424 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_070502.424 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.425 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.425 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.425 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.425 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_070502.425 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.440 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250920_070502.441 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.441 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250920_070502.441 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.441 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.442 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.442 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.449 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250920_070502.450 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.450 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.450 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.451 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.451 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.458 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250920_070502.459 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.459 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250920_070502.459 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.460 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.460 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.460 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.468 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.468 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250920_070502.468 INFO MainThread mock-context-logger.test_exception_on_gather: monkeyed_set_policies_boom: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250920_070502.468 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.473 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.474 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.474 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.474 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuNDc0WiIsICJ1cGRhdGVfaWQiOiAiOWY2NDA0YTItMmU5NS00NWE1LWFhMmMtOWNlMjk0ZThiZjU5In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.475 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.474Z", "update_id": "9f6404a2-2e95-45a5-aa2c-9ce294e8bf59"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.475 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.474Z", "update_id": "9f6404a2-2e95-45a5-aa2c-9ce294e8bf59"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.475 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.475 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250920_070502.476 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250920_070502.477 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.487 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.488 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.488 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.488 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuNDg4WiIsICJ1cGRhdGVfaWQiOiAiNjJiZWQxZmUtZDEzOC00YzJmLWFiY2MtMjEzZmE0ZWZmMWIyIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.489 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.488Z", "update_id": "62bed1fe-d138-4c2f-abcc-213fa4eff1b2"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.489 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.488Z", "update_id": "62bed1fe-d138-4c2f-abcc-213fa4eff1b2"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.489 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.489 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_070502.490 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_070502.490 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.488Z", "update_id": "62bed1fe-d138-4c2f-abcc-213fa4eff1b2"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.490 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_070502.491 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_070502.491 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0yMFQwNzowNTowMi40OTFaIiwgInVwZGF0ZV9pZCI6ICJlNjg3OGM0MC1mYTU4LTQwZTAtYTA3My03NmIyYWIxZjg3MWYifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.491 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.492 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.491Z", "update_id": "e6878c40-fa58-40e0-a073-76b2ab1f871f"}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.492 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250920_070502.492 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_070502.492 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_070502.493 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.493 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.493 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_070502.493 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_070502.493 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.508 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.508 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.508 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.509 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.509 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250920_070502.509 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250920_070502.509 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.514 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.515 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.516 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.516 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuNTE2WiIsICJ1cGRhdGVfaWQiOiAiZmE5Y2JkZGUtMzY0Mi00NTdiLWI0OGItNzhkM2M5ZDgyZDgxIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.516 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.516Z", "update_id": "fa9cbdde-3642-457b-b48b-78d3c9d82d81"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.517 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.516Z", "update_id": "fa9cbdde-3642-457b-b48b-78d3c9d82d81"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.517 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.517 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.525 INFO MainThread mock-context-logger.test_wrong_ctx_node_configure: cloudify.relationships.depends_on not a node boom: can only invoke gather_policies_to_node on node 20250920_070502.525 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.529 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.530 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.530 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.531 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuNTMwWiIsICJ1cGRhdGVfaWQiOiAiZGU4N2IyZWUtZGFmNi00Nzk2LWJiZmEtYzUxYWIxZmM2YmM1In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.531 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.530Z", "update_id": "de87b2ee-daf6-4796-bbfa-c51ab1fc6bc5"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.531 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.530Z", "update_id": "de87b2ee-daf6-4796-bbfa-c51ab1fc6bc5"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.532 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.532 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.530Z", "update_id": "de87b2ee-daf6-4796-bbfa-c51ab1fc6bc5"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.532 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250920_070502.532 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.533 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.533 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.530Z", "update_id": "de87b2ee-daf6-4796-bbfa-c51ab1fc6bc5"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.533 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.547 INFO MainThread mock-context-logger.test_wrong_ctx_policy_update: cloudify.relationships.depends_on not a node boom: can only invoke update_policies_on_node on node 20250920_070502.547 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_070502.551 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.552 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.552 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.552 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidGltZXN0YW1wIjogIjIwMjUtMDktMjBUMDc6MDU6MDIuNTUyWiIsICJ1cGRhdGVfaWQiOiAiZGU5M2I3NzktMWZhMC00NTE2LTk3MzEtYTU2NjA4N2MwZGU5In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwODowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQxMDowNTowMi4xOTNaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMTA6MDU6MDIuMTkzWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA3OjA1OjAyLjE5M1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}] 20250920_070502.553 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.552Z", "update_id": "de93b779-1fa0-4516-9731-a566087c0de9"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.553 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_configure", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.552Z", "update_id": "de93b779-1fa0-4516-9731-a566087c0de9"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}} 20250920_070502.553 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20250920_070502.554 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.552Z", "update_id": "de93b779-1fa0-4516-9731-a566087c0de9"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.554 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250920_070502.554 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_070502.554 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20250920_070502.555 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "task_id": null, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "plugin": {"workdir": null, "package_name": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-09-20T07:05:02.193Z", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "policies_count": 4, "timestamp": "2025-09-20T07:05:02.552Z", "update_id": "de93b779-1fa0-4516-9731-a566087c0de9"}, "policies": {"monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_ts": "2025-09-20T09:05:02.193Z", "policy_updated_to_ver": "3"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T07:05:02.193Z", "policy_updated_to_ver": "1"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-20T08:05:02.193Z", "policy_updated_to_ver": "2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-09-20T10:05:02.193Z", "policy_updated_to_ver": "4"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4"}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_ts": "2025-09-20T11:05:02.193Z", "policy_updated_to_ver": "5"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250920_070502.555 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear