20260110_031016.024 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.026 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.026 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.026 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTkyZGFlNjgtZDM2OC00ZDk0LThkZWMtZWQ1ZjYzNTI3NTE5IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4wMjZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.027 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a92dae68-d368-4d94-8dec-ed5f63527519", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.026Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.027 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a92dae68-d368-4d94-8dec-ed5f63527519", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.026Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.027 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.028 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a92dae68-d368-4d94-8dec-ed5f63527519", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.026Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_delete"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.028 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"}}] 20260110_031016.028 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.028 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.029 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a92dae68-d368-4d94-8dec-ed5f63527519", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.026Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_delete"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.029 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.038 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.039 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.039 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.040 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTY1YzUxYzctYzQ1YS00NTM5LWI5ZTYtOWRiNDZkZTQ1NDBhIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4wMzlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.040 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e65c51c7-c45a-4539-b9e6-9db46de4540a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.039Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.040 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e65c51c7-c45a-4539-b9e6-9db46de4540a", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.039Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.041 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.041 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.050 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.051 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.051 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.052 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDMxYjdiZjktMDQ4Ni00MGI2LTgzMmEtMzExYjhlMzFhOTYyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4wNTFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.052 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "431b7bf9-0486-40b6-832a-311b8e31a962", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.051Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.052 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "431b7bf9-0486-40b6-832a-311b8e31a962", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.051Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.053 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.053 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "431b7bf9-0486-40b6-832a-311b8e31a962", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.051Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.053 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260110_031016.054 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260110_031016.054 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDlhZjAyMDQtOGM4Ni00MzY3LWJiMzUtZWMwNDMxZWNhN2E0IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjA1NFoifQ==", "Verb": "set"}}] 20260110_031016.054 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.055 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d9af0204-8c86-4367-bb35-ec0431eca7a4", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.054Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.055 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20260110_031016.055 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d9af0204-8c86-4367-bb35-ec0431eca7a4", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.054Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.055 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.055 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.069 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260110_031016.070 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.070 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"}}] 20260110_031016.070 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.070 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.071 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.071 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.079 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.080 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.080 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.081 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMzkwNDJhYWMtZTY1MS00NzA1LTk2NTctODg1YWM2MmU4OTYzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4wODBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.081 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "39042aac-e651-4705-9657-885ac62e8963", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.080Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.081 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "39042aac-e651-4705-9657-885ac62e8963", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.080Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.081 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.082 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260110_031016.082 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260110_031016.082 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "39042aac-e651-4705-9657-885ac62e8963", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.080Z"}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.082 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260110_031016.083 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260110_031016.083 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTE4NTQxNDYtMTc5Yi00MjJmLTlhMDktNDIzMjIxNWE5OWQwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjA4M1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.084 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.084 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "51854146-179b-422f-9a09-4232215a99d0", "policies_count": 4, "action": "updated", "timestamp": "2026-01-10T03:10:16.083Z"}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.084 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260110_031016.084 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260110_031016.084 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.085 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.085 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.085 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.085 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260110_031016.085 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.101 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.102 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.102 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.102 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzc0MWFlMzItYmMzNy00NjMwLTllMDItMTA5M2U2MjllZWUwIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4xMDJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.103 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7741ae32-bc37-4630-9e02-1093e629eee0", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.102Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.103 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7741ae32-bc37-4630-9e02-1093e629eee0", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.102Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.103 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.103 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.104 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_3"}] 20260110_031016.104 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7741ae32-bc37-4630-9e02-1093e629eee0", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.102Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.104 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260110_031016.105 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}} 20260110_031016.105 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "unexpected": [{"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2"}]} 20260110_031016.105 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7741ae32-bc37-4630-9e02-1093e629eee0", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.102Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.105 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "7741ae32-bc37-4630-9e02-1093e629eee0", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.102Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.106 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.106 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.106 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.122 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260110_031016.123 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.123 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"}}] 20260110_031016.123 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.123 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.124 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.124 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.131 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.132 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.133 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.133 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYmViM2VhZWQtNGYzMy00OGY3LTlkMWEtYWY3YzIzZjExMDZkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4xMzNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.133 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "beb3eaed-4f33-48f7-9d1a-af7c23f1106d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.133Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.134 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "beb3eaed-4f33-48f7-9d1a-af7c23f1106d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.133Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.134 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.134 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260110_031016.134 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260110_031016.135 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "beb3eaed-4f33-48f7-9d1a-af7c23f1106d", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.133Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.135 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260110_031016.135 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260110_031016.135 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTkxZWZhMTMtZDhjNi00OWViLWIwMGEtZTQxYTQ4ZWQwNDU0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjEzNVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.136 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.136 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e91efa13-d8c6-49eb-b00a-e41a48ed0454", "policies_count": 4, "action": "updated", "timestamp": "2026-01-10T03:10:16.135Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.137 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260110_031016.137 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260110_031016.137 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.137 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.137 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.137 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.138 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260110_031016.138 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.153 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.154 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.154 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.154 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjQ5NGQwNDgtMjBiYy00ZTFhLTkwYTYtMmM1Yjc1OTQyMzkzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4xNTRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.155 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6494d048-20bc-4e1a-90a6-2c5b75942393", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.154Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.155 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6494d048-20bc-4e1a-90a6-2c5b75942393", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.154Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.155 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.156 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260110_031016.156 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260110_031016.156 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "6494d048-20bc-4e1a-90a6-2c5b75942393", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.154Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.156 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260110_031016.157 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260110_031016.157 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTVmYTNjZTEtYjk2MC00ZGE1LWJhNDItY2M4YTNkMTkzZDBhIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjE1N1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.157 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.158 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "15fa3ce1-b960-4da5-ba42-cc8a3d193d0a", "policies_count": 4, "action": "updated", "timestamp": "2026-01-10T03:10:16.157Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.158 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260110_031016.158 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260110_031016.158 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.159 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.159 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.159 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.159 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260110_031016.159 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.174 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.174 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260110_031016.174 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.175 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260110_031016.175 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.179 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.180 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.181 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.181 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzY1MWFmNjQtNWYwMS00OTcwLTkxNzgtYzRlN2E3ZGNkMGZkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4xODFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.181 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "c651af64-5f01-4970-9178-c4e7a7dcd0fd", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.181Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.182 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "c651af64-5f01-4970-9178-c4e7a7dcd0fd", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.181Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.182 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.182 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "c651af64-5f01-4970-9178-c4e7a7dcd0fd", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.181Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.182 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260110_031016.183 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260110_031016.183 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTM0ODYyYzAtNWY1OS00NzA4LTk0ZmItZDMwZWFkMzc4ZWJmIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjE4M1oifQ==", "Verb": "set"}}] 20260110_031016.183 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.184 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e34862c0-5f59-4708-94fb-d30ead378ebf", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.183Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.184 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e34862c0-5f59-4708-94fb-d30ead378ebf", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.183Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.185 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260110_031016.185 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260110_031016.185 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e34862c0-5f59-4708-94fb-d30ead378ebf", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.183Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.185 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20260110_031016.186 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "e34862c0-5f59-4708-94fb-d30ead378ebf", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.183Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.186 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.186 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.204 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.205 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.205 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.206 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTE2MjAyYjgtNjkzNS00MmJjLWIyYmItNzMzZGEyOTgyMjk0IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4yMDZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.206 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "116202b8-6935-42bc-b2bb-733da2982294", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.206Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.206 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "116202b8-6935-42bc-b2bb-733da2982294", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.206Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.207 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.207 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.207 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.207 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260110_031016.207 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260110_031016.207 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.208 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.208 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260110_031016.208 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260110_031016.208 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.218 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260110_031016.218 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.218 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"}}] 20260110_031016.218 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.219 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.219 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.219 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.226 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 20260110_031016.226 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.230 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.231 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.231 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.231 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTJkMTdkZWMtZDE5My00ZWJmLWEwMTgtNWNiNzhkOTg1ZWIzIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4yMzFaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.232 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "12d17dec-d193-4ebf-a018-5cb78d985eb3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.231Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.232 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "12d17dec-d193-4ebf-a018-5cb78d985eb3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.231Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.232 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.233 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "12d17dec-d193-4ebf-a018-5cb78d985eb3", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.231Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.233 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260110_031016.233 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260110_031016.233 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzI2NmM0ODYtNDRlMS00MTkxLThjZjQtYzQ1MGJmZGZjZjhhIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjIzM1oifQ==", "Verb": "set"}}] 20260110_031016.234 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.234 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "c266c486-44e1-4191-8cf4-c450bfdfcf8a", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.233Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.234 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.235 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260110_031016.235 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260110_031016.235 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "c266c486-44e1-4191-8cf4-c450bfdfcf8a", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.233Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.235 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260110_031016.236 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260110_031016.236 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDViYWI5NjItZTViNS00OTJhLTg1MzMtMGI0ZGM3N2M3MTIxIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjIzNloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260110_031016.236 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.237 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "d5bab962-e5b5-492a-8533-0b4dc77c7121", "policies_count": 2, "action": "updated", "timestamp": "2026-01-10T03:10:16.236Z"}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.237 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260110_031016.237 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260110_031016.237 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.237 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.256 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"execute_operation": "policy_update"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.256 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20260110_031016.256 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) 20260110_031016.256 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.261 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260110_031016.261 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.261 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"}}] 20260110_031016.261 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.262 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.262 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.262 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.272 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.273 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.273 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.273 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjIxNTc1ZGYtZjIzNi00YWI3LTk4OGYtYjBkOTg5Njc3MTVjIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4yNzNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.274 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "221575df-f236-4ab7-988f-b0d98967715c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.273Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.274 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "221575df-f236-4ab7-988f-b0d98967715c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.273Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.274 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.275 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "221575df-f236-4ab7-988f-b0d98967715c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.273Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_delete"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.275 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"}}] 20260110_031016.275 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.275 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.276 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "221575df-f236-4ab7-988f-b0d98967715c", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.273Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_delete"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.276 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.289 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 20260110_031016.289 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.292 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.292 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20260110_031016.293 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) 20260110_031016.293 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.297 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260110_031016.297 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.297 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260110_031016.298 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.298 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.298 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.298 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.305 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.306 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.306 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20260110_031016.306 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260110_031016.306 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.311 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.312 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.312 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.313 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDk0NDM0NGQtY2I4Mi00YWVlLWFmNTItODZjOTczZjQ0ZDg3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4zMTNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.313 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "4944344d-cb82-4aee-af52-86c973f44d87", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.313Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.313 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "4944344d-cb82-4aee-af52-86c973f44d87", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.313Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.314 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.314 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "4944344d-cb82-4aee-af52-86c973f44d87", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.313Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.314 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260110_031016.315 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260110_031016.315 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTRlYTlkYWEtNzVmYS00MTlhLThlYjItOTUwZDZlZWYwNzc0IiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjMxNVoifQ==", "Verb": "set"}}] 20260110_031016.315 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.316 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a4ea9daa-75fa-419a-8eb2-950d6eef0774", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.315Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.316 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260110_031016.316 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260110_031016.317 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "a4ea9daa-75fa-419a-8eb2-950d6eef0774", "policies_count": 0, "action": "updated", "timestamp": "2026-01-10T03:10:16.315Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.317 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260110_031016.317 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260110_031016.317 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTA1MTRhMTMtYzMwMC00NTAxLWI5MzMtYjM3OTcxN2E3ZjEyIiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjMxN1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260110_031016.318 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.318 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "50514a13-c300-4501-b933-b379717a7f12", "policies_count": 2, "action": "updated", "timestamp": "2026-01-10T03:10:16.317Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.318 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260110_031016.319 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260110_031016.319 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.319 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.338 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.339 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.340 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.340 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": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMmQ4YTA2MDYtOGQwOS00NjU1LTkxZmEtNDQ4NGRlNmVjNWZmIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMS0xMFQwMzoxMDoxNi4zNDBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDQ6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.340 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2d8a0606-8d09-4655-91fa-4484de6ec5ff", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.340Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.341 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2d8a0606-8d09-4655-91fa-4484de6ec5ff", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.340Z"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"} 20260110_031016.341 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260110_031016.341 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260110_031016.341 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260110_031016.341 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T04:10:16.001Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "2d8a0606-8d09-4655-91fa-4484de6ec5ff", "policies_count": 4, "action": "gathered", "timestamp": "2026-01-10T03:10:16.340Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.342 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260110_031016.342 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260110_031016.342 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZjYwYWZmZDgtNDFkNi00MmE2LThlYzEtZjBlMWRhYTg1OWY2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTAxLTEwVDAzOjEwOjE2LjM0MloifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNjoxMDoxNi4wMDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMS0xMFQwNDoxMDoxNi4wMDFaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDEtMTBUMDM6MTA6MTYuMDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}] 20260110_031016.343 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.343 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"update_id": "f60affd8-41d6-42a6-8ec1-f0e1daa859f6", "policies_count": 4, "action": "updated", "timestamp": "2026-01-10T03:10:16.342Z"}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.343 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260110_031016.344 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260110_031016.344 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260110_031016.344 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.344 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.344 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260110_031016.344 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-01-10T06:10:16.001Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260110_031016.345 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.359 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.359 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.359 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.360 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.360 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20260110_031016.360 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260110_031016.360 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260110_031016.365 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260110_031016.365 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.366 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260110_031016.366 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"} 20260110_031016.366 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}}, "name": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name"}, "instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name"}, "instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2"}, "instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name"}, "instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "bad_policy_4_node_name"}, "instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "name": "weird_policy_5_node_name"}, "instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name"}, "instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T05:10:16.001Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name"}, "instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name"}, "instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "name": "dcae_policies_empty_2_node_name"}, "instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "name": "non_policies_node_name"}, "instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name"}, "instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T03:10:16.001Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name"}, "instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T04:10:16.001Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name"}, "instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T06:10:16.001Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name"}, "instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-01-10T07:10:16.001Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_ts": "2026-01-10T03:10:16.001Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_queue": null, "task_name": null, "plugin": {"name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "workdir": null}, "workflow_id": null, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260110_031016.366 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear