20251018_070621.441 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.443 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.443 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.443 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzFjNDMyYjUtNjAyOS00NDQ4LTljODEtNDllNGFmNjg4MzkzIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40NDNaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.444 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "31c432b5-6029-4448-9c81-49e4af688393", "action": "gathered", "timestamp": "2025-10-18T07:06:21.443Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.444 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "31c432b5-6029-4448-9c81-49e4af688393", "action": "gathered", "timestamp": "2025-10-18T07:06:21.443Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.444 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.444 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.444 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.444 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_070621.445 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_070621.445 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.445 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.445 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251018_070621.445 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251018_070621.445 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.453 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.454 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.454 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.454 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTZlYmYwODUtZTQ5NS00M2NjLTg4NWMtOWI2MzE2OTQzZjA4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40NTRaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.455 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "a6ebf085-e495-43cc-885c-9b6316943f08", "action": "gathered", "timestamp": "2025-10-18T07:06:21.454Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.455 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "a6ebf085-e495-43cc-885c-9b6316943f08", "action": "gathered", "timestamp": "2025-10-18T07:06:21.454Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.455 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.455 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_070621.455 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_070621.456 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "a6ebf085-e495-43cc-885c-9b6316943f08", "action": "gathered", "timestamp": "2025-10-18T07:06:21.454Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.456 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_070621.456 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_070621.457 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjVhZjVkODItYzMwNi00ODZkLTg2OWUtNDU5MzQyYTdhNjYyIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjQ1N1oifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20251018_070621.457 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.458 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "25af5d82-c306-486d-869e-459342a7a662", "action": "updated", "timestamp": "2025-10-18T07:06:21.457Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.458 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251018_070621.458 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_070621.458 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.458 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.459 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.459 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.459 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_070621.459 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.475 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251018_070621.475 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.475 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.475 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.476 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.476 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.484 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.485 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.485 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.485 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDRiZjA1NDktMTFhNS00M2I1LWFjN2EtY2M4YjcwMDJkMDk3IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40ODVaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.486 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "44bf0549-11a5-43b5-ac7a-cc8b7002d097", "action": "gathered", "timestamp": "2025-10-18T07:06:21.485Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.486 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "44bf0549-11a5-43b5-ac7a-cc8b7002d097", "action": "gathered", "timestamp": "2025-10-18T07:06:21.485Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.486 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.486 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_070621.487 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_070621.487 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "44bf0549-11a5-43b5-ac7a-cc8b7002d097", "action": "gathered", "timestamp": "2025-10-18T07:06:21.485Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.487 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_070621.487 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_070621.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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjE1ZDE1MmMtNzZhNC00Y2Y0LTg2ZGQtNzJlMDZiNWI4MTVhIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjQ4OFoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20251018_070621.488 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.489 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "b15d152c-76a4-4cf4-86dd-72e06b5b815a", "action": "updated", "timestamp": "2025-10-18T07:06:21.488Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.489 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251018_070621.489 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_070621.489 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.489 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.490 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.490 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.490 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_070621.490 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.507 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.508 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.508 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.508 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYmQ1YTRlZmUtNGRjZS00ZmE5LTlhNTItMWEyODRhMzcyOTNhIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS41MDhaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.509 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "bd5a4efe-4dce-4fa9-9a52-1a284a37293a", "action": "gathered", "timestamp": "2025-10-18T07:06:21.508Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.509 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "bd5a4efe-4dce-4fa9-9a52-1a284a37293a", "action": "gathered", "timestamp": "2025-10-18T07:06:21.508Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.509 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.510 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "bd5a4efe-4dce-4fa9-9a52-1a284a37293a", "action": "gathered", "timestamp": "2025-10-18T07:06:21.508Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.510 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20251018_070621.510 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_070621.511 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiZDMzZTk4ZWUtNTkwMS00MGNkLTkwZTMtNWNiNDVjOTIxZDcyIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjUxMVoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20251018_070621.511 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.511 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "d33e98ee-5901-40cd-90e3-5cb45c921d72", "action": "updated", "timestamp": "2025-10-18T07:06:21.511Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.512 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_070621.512 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_070621.512 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "d33e98ee-5901-40cd-90e3-5cb45c921d72", "action": "updated", "timestamp": "2025-10-18T07:06:21.511Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.513 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_070621.513 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_070621.513 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": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiMDhkNzBiNTUtM2UxMy00MzM2LTk4NzMtNWY0NGFhNDUxNjA2IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjUxM1oifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20251018_070621.513 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.514 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 2, "update_id": "08d70b55-3e13-4336-9873-5f44aa451606", "action": "updated", "timestamp": "2025-10-18T07:06:21.513Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.514 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251018_070621.514 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_070621.514 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.515 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.534 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.535 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.535 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.536 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYWZkNDM5MjQtOTQ4NC00N2I3LTk4OTYtOGM4ODdjMjUxNGFlIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS41MzVaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.536 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "afd43924-9484-47b7-9896-8c887c2514ae", "action": "gathered", "timestamp": "2025-10-18T07:06:21.535Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.536 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "afd43924-9484-47b7-9896-8c887c2514ae", "action": "gathered", "timestamp": "2025-10-18T07:06:21.535Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.537 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.537 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_070621.537 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_070621.537 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "afd43924-9484-47b7-9896-8c887c2514ae", "action": "gathered", "timestamp": "2025-10-18T07:06:21.535Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.538 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_070621.538 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_070621.538 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2NjZTgwNjUtY2FjYy00MGIzLWE3YWEtYjNlZWUxMzRhZTk0IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjUzOFoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20251018_070621.539 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.539 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "7cce8065-cacc-40b3-a7aa-b3eee134ae94", "action": "updated", "timestamp": "2025-10-18T07:06:21.538Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.539 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251018_070621.539 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_070621.540 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.540 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.540 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.540 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.540 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_070621.540 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.555 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.555 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251018_070621.556 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.556 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251018_070621.556 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.560 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.560 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) 20251018_070621.560 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) 20251018_070621.561 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.565 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.566 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.566 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.566 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTNkOGMyNGUtNTM0ZS00MzVkLWE3ZTAtODgzMGQ3MmYzMGNmIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS41NjZaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.567 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "e3d8c24e-534e-435d-a7e0-8830d72f30cf", "action": "gathered", "timestamp": "2025-10-18T07:06:21.566Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.567 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "e3d8c24e-534e-435d-a7e0-8830d72f30cf", "action": "gathered", "timestamp": "2025-10-18T07:06:21.566Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.567 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.567 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.568 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_3"}] 20251018_070621.568 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "e3d8c24e-534e-435d-a7e0-8830d72f30cf", "action": "gathered", "timestamp": "2025-10-18T07:06:21.566Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.569 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20251018_070621.569 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}} 20251018_070621.569 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach_2"}], "duplicate": [], "ignored": [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_peach"}]} 20251018_070621.569 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "e3d8c24e-534e-435d-a7e0-8830d72f30cf", "action": "gathered", "timestamp": "2025-10-18T07:06:21.566Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.570 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "e3d8c24e-534e-435d-a7e0-8830d72f30cf", "action": "gathered", "timestamp": "2025-10-18T07:06:21.566Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"} 20251018_070621.570 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.570 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.570 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.586 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.588 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.588 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.588 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZjEzYzhmYmEtNTgzYi00Mzc2LWJmNzYtZTBkNDcyZjU4NWNiIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS41ODhaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.589 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "f13c8fba-583b-4376-bf76-e0d472f585cb", "action": "gathered", "timestamp": "2025-10-18T07:06:21.588Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.589 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "f13c8fba-583b-4376-bf76-e0d472f585cb", "action": "gathered", "timestamp": "2025-10-18T07:06:21.588Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.589 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.589 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "f13c8fba-583b-4376-bf76-e0d472f585cb", "action": "gathered", "timestamp": "2025-10-18T07:06:21.588Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.590 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20251018_070621.590 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_070621.590 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMmM3ZDJlY2ItNWI5My00YWIxLWE3ZmEtMzY0OTBmMDZlYmZkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjU5MFoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20251018_070621.591 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.591 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "2c7d2ecb-5b93-4ab1-a7fa-36490f06ebfd", "action": "updated", "timestamp": "2025-10-18T07:06:21.590Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.592 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "2c7d2ecb-5b93-4ab1-a7fa-36490f06ebfd", "action": "updated", "timestamp": "2025-10-18T07:06:21.590Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.592 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20251018_070621.592 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_070621.592 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "2c7d2ecb-5b93-4ab1-a7fa-36490f06ebfd", "action": "updated", "timestamp": "2025-10-18T07:06:21.590Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.593 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both'] 20251018_070621.593 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "2c7d2ecb-5b93-4ab1-a7fa-36490f06ebfd", "action": "updated", "timestamp": "2025-10-18T07:06:21.590Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"} 20251018_070621.593 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.593 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.612 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.613 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.613 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.613 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzhhZTBjODItZGFhYS00Y2RiLWIwMDMtZmM3MjQ1OWU3MmQwIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS42MTNaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.614 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "78ae0c82-daaa-4cdb-b003-fc72459e72d0", "action": "gathered", "timestamp": "2025-10-18T07:06:21.613Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.614 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "78ae0c82-daaa-4cdb-b003-fc72459e72d0", "action": "gathered", "timestamp": "2025-10-18T07:06:21.613Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.614 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.615 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "78ae0c82-daaa-4cdb-b003-fc72459e72d0", "action": "gathered", "timestamp": "2025-10-18T07:06:21.613Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.615 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20251018_070621.616 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_070621.616 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNjY2MjEzZmMtZjA1Ny00ZTI4LTg5MWYtNThmN2NjZDJiYjcyIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjYxNloifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20251018_070621.616 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.617 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "666213fc-f057-4e28-891f-58f7ccd2bb72", "action": "updated", "timestamp": "2025-10-18T07:06:21.616Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.617 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.617 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_070621.617 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_070621.617 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "666213fc-f057-4e28-891f-58f7ccd2bb72", "action": "updated", "timestamp": "2025-10-18T07:06:21.616Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.618 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_070621.618 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_070621.618 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": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiZmEzYzM2MDEtOTZhNC00MTM1LTkzZjctMzdhNWY0YzcyODdjIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjYxOFoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDA4OjA2OjIxLjQxOFoifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20251018_070621.619 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.619 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 2, "update_id": "fa3c3601-96a4-4135-93f7-37a5f4c7287c", "action": "updated", "timestamp": "2025-10-18T07:06:21.618Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.619 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251018_070621.619 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_070621.620 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.620 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.639 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.640 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.641 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.641 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWU3MDlhOGYtNjIzMi00YWJhLWJhMDEtNTczNjZhYWM4MTViIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS42NDFaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.641 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "9e709a8f-6232-4aba-ba01-57366aac815b", "action": "gathered", "timestamp": "2025-10-18T07:06:21.641Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.642 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "9e709a8f-6232-4aba-ba01-57366aac815b", "action": "gathered", "timestamp": "2025-10-18T07:06:21.641Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.642 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.642 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.651 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251018_070621.652 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.652 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251018_070621.652 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.653 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.653 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.653 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.660 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.660 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.660 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.661 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.661 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20251018_070621.661 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251018_070621.661 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.666 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251018_070621.666 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.666 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"}}] 20251018_070621.667 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.667 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.667 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.667 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.675 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.676 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.676 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.677 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmI4MDlmMTQtNGRmYi00ZWFjLTkzY2QtODI4NzdkZGMyZTE1IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS42NzdaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.677 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "6b809f14-4dfb-4eac-93cd-82877ddc2e15", "action": "gathered", "timestamp": "2025-10-18T07:06:21.677Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.678 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "6b809f14-4dfb-4eac-93cd-82877ddc2e15", "action": "gathered", "timestamp": "2025-10-18T07:06:21.677Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.678 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.678 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251018_070621.678 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251018_070621.678 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "6b809f14-4dfb-4eac-93cd-82877ddc2e15", "action": "gathered", "timestamp": "2025-10-18T07:06:21.677Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.679 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251018_070621.679 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251018_070621.679 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2I1MGJjMjItOTVmYi00MjEyLTk1YWQtZDhmZDE2OWFmYzlkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjY3OVoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20251018_070621.680 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.680 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "7b50bc22-95fb-4212-95ad-d8fd169afc9d", "action": "updated", "timestamp": "2025-10-18T07:06:21.679Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.680 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251018_070621.681 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251018_070621.681 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "responseAttributes": {}, "config": ["damaged config"], "policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251018_070621.681 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.681 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.681 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251018_070621.681 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251018_070621.682 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.697 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.698 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.698 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.699 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTcxYTE2ZTgtOTMyNC00ZTlmLThkNzAtMmNhZDMzYzNlNGY0IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS42OThaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.700 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "971a16e8-9324-4e9f-8d70-2cad33c3e4f4", "action": "gathered", "timestamp": "2025-10-18T07:06:21.698Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.700 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "971a16e8-9324-4e9f-8d70-2cad33c3e4f4", "action": "gathered", "timestamp": "2025-10-18T07:06:21.698Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.700 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.701 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "971a16e8-9324-4e9f-8d70-2cad33c3e4f4", "action": "gathered", "timestamp": "2025-10-18T07:06:21.698Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.701 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"}}] 20251018_070621.701 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.701 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.702 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "971a16e8-9324-4e9f-8d70-2cad33c3e4f4", "action": "gathered", "timestamp": "2025-10-18T07:06:21.698Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.702 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.715 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.716 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) 20251018_070621.716 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) 20251018_070621.716 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.719 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 20251018_070621.719 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.723 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251018_070621.723 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.724 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"}}] 20251018_070621.724 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.724 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.725 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.725 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.732 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.733 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.734 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.734 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZWM0YzNmMzMtN2NmZi00Zjk5LWI2YmItNTkzYzM5YWYyNDE1IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS43MzRaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.734 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "ec4c3f33-7cff-4f99-b6bb-593c39af2415", "action": "gathered", "timestamp": "2025-10-18T07:06:21.734Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.735 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "ec4c3f33-7cff-4f99-b6bb-593c39af2415", "action": "gathered", "timestamp": "2025-10-18T07:06:21.734Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.735 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.735 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "ec4c3f33-7cff-4f99-b6bb-593c39af2415", "action": "gathered", "timestamp": "2025-10-18T07:06:21.734Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.735 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"}}] 20251018_070621.736 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.736 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.736 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "ec4c3f33-7cff-4f99-b6bb-593c39af2415", "action": "gathered", "timestamp": "2025-10-18T07:06:21.734Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.736 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.751 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251018_070621.751 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.752 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"}}] 20251018_070621.752 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.752 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.752 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.753 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.760 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.761 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.761 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.761 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": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDE5ODQ1ZmYtNTBlYy00ZTY4LTgzMWMtMDBjZmY4MWQxNTRjIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS43NjFaIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTE4VDEwOjA2OjIxLjQxOFoifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xOFQwNzowNjoyMS40MThaIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMDg6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMThUMTA6MDY6MjEuNDE4WiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}] 20251018_070621.762 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "d19845ff-50ec-4e68-831c-00cff81d154c", "action": "gathered", "timestamp": "2025-10-18T07:06:21.761Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.762 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "d19845ff-50ec-4e68-831c-00cff81d154c", "action": "gathered", "timestamp": "2025-10-18T07:06:21.761Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure"} 20251018_070621.762 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251018_070621.763 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 4, "update_id": "d19845ff-50ec-4e68-831c-00cff81d154c", "action": "gathered", "timestamp": "2025-10-18T07:06:21.761Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.763 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_both"] 20251018_070621.764 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251018_070621.764 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": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiZTljZTk5MGMtYTk2OC00YWVjLWI3ZDItYjFiY2NjZTA4ZDI0IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTE4VDA3OjA2OjIxLjc2NFoifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20251018_070621.764 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.765 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "e9ce990c-a968-4aec-b7d2-b1bccce08d24", "action": "updated", "timestamp": "2025-10-18T07:06:21.764Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.765 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_both'] 20251018_070621.765 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policies_event": {"policies_count": 0, "update_id": "e9ce990c-a968-4aec-b7d2-b1bccce08d24", "action": "updated", "timestamp": "2025-10-18T07:06:21.764Z"}, "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_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"}, "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"}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "execute_operation": "policy_update"} 20251018_070621.765 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.765 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.779 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 20251018_070621.779 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.782 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.782 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.782 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.783 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.783 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20251018_070621.783 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251018_070621.783 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251018_070621.788 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251018_070621.788 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.788 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"}}] 20251018_070621.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251018_070621.789 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"} 20251018_070621.789 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null}, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "type": "node-instance", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_node_id_2"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "weird_policy_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-10-18T09:06:21.418Z"}, "policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}}, "instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}, "policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-10-18T08:06:21.418Z"}, "policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "runtime_properties": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "responseAttributes": {}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-10-18T10:06:21.418Z"}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "id": "dcae_policy_b_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-10-18T11:06:21.418Z"}, "policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-10-18T07:06:21.418Z"}}, "id": "test_ms_id"}, "operation": {"name": null, "retry_number": null, "max_retries": null}} 20251018_070621.789 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear