20250906_070511.554 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.555 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.555 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.556 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS41NTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNzhhNDhkMjMtNGRlMS00MTg5LWE0ZWEtZWY5YzdkYmY1Nzg4IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.556 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.555Z", "action": "gathered", "update_id": "78a48d23-4de1-4189-a4ea-ef9c7dbf5788", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.556 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.555Z", "action": "gathered", "update_id": "78a48d23-4de1-4189-a4ea-ef9c7dbf5788", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.557 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.557 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.564 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.565 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.565 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.566 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS41NjVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMGRkMjk4YjktYzFmNi00MDMwLWEyZGUtNTI2NWQ3MDFiYzczIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.566 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.565Z", "action": "gathered", "update_id": "0dd298b9-c1f6-4030-a2de-5265d701bc73", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.566 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.565Z", "action": "gathered", "update_id": "0dd298b9-c1f6-4030-a2de-5265d701bc73", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.567 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.567 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}] 20250906_070511.567 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_070511.567 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.565Z", "action": "gathered", "update_id": "0dd298b9-c1f6-4030-a2de-5265d701bc73", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.568 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_070511.568 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}} 20250906_070511.568 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS41NjhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5YzI1NGZkMi0wOGM0LTQ3NmItYjNiZS1lZDExYTJmNmM4MGQiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.569 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.569 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.568Z", "action": "updated", "update_id": "9c254fd2-08c4-476b-b3be-ed11a2f6c80d", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"} 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.570 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"} 20250906_070511.571 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.586 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 20250906_070511.586 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.590 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.591 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.591 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.591 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS41OTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNzZhM2I2NmYtMTRiMC00Yjg1LWI3MDctM2Y4ZTFhOTg3YjAyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.592 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.591Z", "action": "gathered", "update_id": "76a3b66f-14b0-4b85-b707-3f8e1a987b02", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.592 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.591Z", "action": "gathered", "update_id": "76a3b66f-14b0-4b85-b707-3f8e1a987b02", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.592 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.592 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}] 20250906_070511.592 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_070511.593 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.591Z", "action": "gathered", "update_id": "76a3b66f-14b0-4b85-b707-3f8e1a987b02", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.593 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_070511.593 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}} 20250906_070511.594 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS41OTRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxYjliNjIxZC0zMjliLTQ0NmMtOWIxNS1iZmY0NjBlNjFlMjciLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.594 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.595 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.594Z", "action": "updated", "update_id": "1b9b621d-329b-446c-9b15-bff460e61e27", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.595 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250906_070511.595 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"} 20250906_070511.595 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.596 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.596 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.596 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.596 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"} 20250906_070511.596 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.611 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.611 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250906_070511.611 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.611 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250906_070511.611 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.617 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250906_070511.617 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.618 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250906_070511.618 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.618 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.618 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.618 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.625 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 20250906_070511.625 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.629 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.630 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.631 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.631 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42MzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiY2I3NzQzNjgtZWQxZS00NWM1LTk3NjMtOWJkYWVkYjAwZTYwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.631 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.631Z", "action": "gathered", "update_id": "cb774368-ed1e-45c5-9763-9bdaedb00e60", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.632 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.631Z", "action": "gathered", "update_id": "cb774368-ed1e-45c5-9763-9bdaedb00e60", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.632 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.632 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}] 20250906_070511.632 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_070511.633 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.631Z", "action": "gathered", "update_id": "cb774368-ed1e-45c5-9763-9bdaedb00e60", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.633 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_070511.633 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}} 20250906_070511.634 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42MzRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0YTYzMjdhOC01Yjk3LTQ4N2UtYTBjOC05YTA0YjNkODhlNzIiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.634 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.635 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.634Z", "action": "updated", "update_id": "4a6327a8-5b97-487e-a0c8-9a04b3d88e72", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.635 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250906_070511.635 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"} 20250906_070511.635 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.636 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.636 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.636 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.636 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"} 20250906_070511.636 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.651 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.652 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250906_070511.652 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) 20250906_070511.652 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.657 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.658 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.658 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.658 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42NThaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMTNiZTgwMTctNmMwOC00YmE0LTg2OWItMDEyOTk5OTJjNWNlIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.659 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.658Z", "action": "gathered", "update_id": "13be8017-6c08-4ba4-869b-01299992c5ce", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.659 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.658Z", "action": "gathered", "update_id": "13be8017-6c08-4ba4-869b-01299992c5ce", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.659 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.660 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.658Z", "action": "gathered", "update_id": "13be8017-6c08-4ba4-869b-01299992c5ce", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.660 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"] 20250906_070511.660 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_070511.660 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42NjBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0OTkxYzczZC0yNzZhLTQzY2YtODZlYi04OTdjZjQ1ZWMzY2MiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250906_070511.661 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.661 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.660Z", "action": "updated", "update_id": "4991c73d-276a-43cf-86eb-897cf45ec3cc", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.661 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.662 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}] 20250906_070511.662 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_070511.662 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.660Z", "action": "updated", "update_id": "4991c73d-276a-43cf-86eb-897cf45ec3cc", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.662 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_070511.663 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}} 20250906_070511.663 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42NjNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJkZWQyMjk3Ny0yMThiLTQ2NmQtYjQwOC1lZmEzNWM4OWM3MTkiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250906_070511.664 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.664 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.663Z", "action": "updated", "update_id": "ded22977-218b-466d-b408-efa35c89c719", "policies_count": 2}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.664 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250906_070511.664 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"} 20250906_070511.665 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.665 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.685 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.686 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.686 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.687 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42ODZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjcwYTZlMGMtNjNiOC00ZmJiLTg3ZTUtNWQ3ZTdiNjk2ZTQ1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.687 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.686Z", "action": "gathered", "update_id": "270a6e0c-63b8-4fbb-87e5-5d7e7b696e45", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.687 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.686Z", "action": "gathered", "update_id": "270a6e0c-63b8-4fbb-87e5-5d7e7b696e45", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.688 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.688 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}] 20250906_070511.688 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_070511.688 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.686Z", "action": "gathered", "update_id": "270a6e0c-63b8-4fbb-87e5-5d7e7b696e45", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.689 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_070511.689 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}} 20250906_070511.689 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS42ODlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjMWZmMjk4ZC04MGRlLTRlNmQtOWVlZS02MzIyY2JhZjhmODEiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.690 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.690 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.689Z", "action": "updated", "update_id": "c1ff298d-80de-4e6d-9eee-6322cbaf8f81", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.691 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250906_070511.691 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"} 20250906_070511.691 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.691 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.691 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.692 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.692 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"} 20250906_070511.692 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.708 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250906_070511.709 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.709 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.709 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.709 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.710 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.717 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.718 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.719 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.719 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS43MTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWRlMGUwNTYtNTkwOS00ODc1LWEzYjEtMzE5NjA1MWM0Y2VjIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.719 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.719Z", "action": "gathered", "update_id": "1de0e056-5909-4875-a3b1-3196051c4cec", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.720 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.719Z", "action": "gathered", "update_id": "1de0e056-5909-4875-a3b1-3196051c4cec", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.720 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.720 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.719Z", "action": "gathered", "update_id": "1de0e056-5909-4875-a3b1-3196051c4cec", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.721 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"] 20250906_070511.721 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_070511.721 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS43MjFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIyYzJiNTc2Zi0wODFjLTQ1NGMtOGZmYS05MDVlMzFiMGY5MTIiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250906_070511.722 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.722 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.721Z", "action": "updated", "update_id": "2c2b576f-081c-454c-8ffa-905e31b0f912", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.722 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20250906_070511.723 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.721Z", "action": "updated", "update_id": "2c2b576f-081c-454c-8ffa-905e31b0f912", "policies_count": 0}, "exe_task": "node_configure"} 20250906_070511.723 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.737 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250906_070511.737 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.738 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250906_070511.738 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.738 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.739 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.739 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.746 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250906_070511.747 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.747 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250906_070511.747 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.747 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.748 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.748 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.755 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.756 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.757 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.757 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS43NTdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTg1MmFiYjYtOWJlYS00YmZmLWI5MWUtM2Q1OWFmODZiOWQwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.757 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.757Z", "action": "gathered", "update_id": "9852abb6-9bea-4bff-b91e-3d59af86b9d0", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.758 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.757Z", "action": "gathered", "update_id": "9852abb6-9bea-4bff-b91e-3d59af86b9d0", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.758 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.758 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.757Z", "action": "gathered", "update_id": "9852abb6-9bea-4bff-b91e-3d59af86b9d0", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.759 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"] 20250906_070511.759 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_070511.759 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS43NTlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmMGRmYTQ3ZS1lZmU4LTQzZTYtYTM5MS1jOTViZjBjMjY5NmUiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250906_070511.760 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.760 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.759Z", "action": "updated", "update_id": "f0dfa47e-efe8-43e6-a391-c95bf0c2696e", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.761 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.759Z", "action": "updated", "update_id": "f0dfa47e-efe8-43e6-a391-c95bf0c2696e", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.761 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"] 20250906_070511.761 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_070511.761 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.759Z", "action": "updated", "update_id": "f0dfa47e-efe8-43e6-a391-c95bf0c2696e", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.762 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20250906_070511.762 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.759Z", "action": "updated", "update_id": "f0dfa47e-efe8-43e6-a391-c95bf0c2696e", "policies_count": 0}, "exe_task": "node_configure"} 20250906_070511.762 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.762 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.780 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.781 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250906_070511.781 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) 20250906_070511.781 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.786 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.787 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.787 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.787 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS43ODdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjc2NTMxNzMtMjI1ZC00NTA4LThhMjUtZGEyZGQ4NzhlMDhmIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.788 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.787Z", "action": "gathered", "update_id": "f7653173-225d-4508-8a25-da2dd878e08f", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.788 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.787Z", "action": "gathered", "update_id": "f7653173-225d-4508-8a25-da2dd878e08f", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.788 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.789 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.787Z", "action": "gathered", "update_id": "f7653173-225d-4508-8a25-da2dd878e08f", "policies_count": 4}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.789 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250906_070511.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.789 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.790 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.787Z", "action": "gathered", "update_id": "f7653173-225d-4508-8a25-da2dd878e08f", "policies_count": 4}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.790 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.807 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.808 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.808 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.808 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS44MDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNzI1NjVlM2EtNDFiNS00MmM4LTk5NjYtYTQwODFkNzkzNjZiIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.809 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.808Z", "action": "gathered", "update_id": "72565e3a-41b5-42c8-9966-a4081d79366b", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.809 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.808Z", "action": "gathered", "update_id": "72565e3a-41b5-42c8-9966-a4081d79366b", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.809 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.809 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}, "policy_id": "monkeyed.Config_both"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"} 20250906_070511.810 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"} 20250906_070511.811 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.821 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250906_070511.821 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.821 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250906_070511.822 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.822 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.822 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.822 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.830 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.831 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.831 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.832 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS44MzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMmEzYjcwY2MtMzJjMi00ZDQxLTg3ZTMtMjgzN2UxZDM0NDEwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.832 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.831Z", "action": "gathered", "update_id": "2a3b70cc-32c2-4d41-87e3-2837e1d34410", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.832 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.831Z", "action": "gathered", "update_id": "2a3b70cc-32c2-4d41-87e3-2837e1d34410", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.833 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.833 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.833 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml"}, "policy_id": "monkeyed.Config_multi_3"}] 20250906_070511.834 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.831Z", "action": "gathered", "update_id": "2a3b70cc-32c2-4d41-87e3-2837e1d34410", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.834 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20250906_070511.834 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}} 20250906_070511.834 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml"}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "same": [{"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}, "policy_id": "monkeyed.Config_peach"}], "unexpected": [{"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml"}, "policy_id": "monkeyed.Config_peach_2"}]} 20250906_070511.835 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.831Z", "action": "gathered", "update_id": "2a3b70cc-32c2-4d41-87e3-2837e1d34410", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.835 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.831Z", "action": "gathered", "update_id": "2a3b70cc-32c2-4d41-87e3-2837e1d34410", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.835 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.835 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.836 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.851 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250906_070511.852 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.852 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250906_070511.852 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.852 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.853 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.853 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.861 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.862 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.862 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.862 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS44NjJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNTc0MjAwYTYtN2NkNS00YjMwLTk0NDgtMDMwYzEzY2IyYjlmIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.863 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.862Z", "action": "gathered", "update_id": "574200a6-7cd5-4b30-9448-030c13cb2b9f", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.863 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.862Z", "action": "gathered", "update_id": "574200a6-7cd5-4b30-9448-030c13cb2b9f", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.863 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.864 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.862Z", "action": "gathered", "update_id": "574200a6-7cd5-4b30-9448-030c13cb2b9f", "policies_count": 4}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.864 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250906_070511.864 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.864 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.865 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.862Z", "action": "gathered", "update_id": "574200a6-7cd5-4b30-9448-030c13cb2b9f", "policies_count": 4}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.865 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.879 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.880 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.881 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.881 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS44ODFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWFjZDliNmYtNjE1NC00YjRlLTkyMDMtYTJjNmEwNTEyZTk0IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDg6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMTA6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMDZUMDc6MDU6MTEuNTMwWiJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20250906_070511.881 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.881Z", "action": "gathered", "update_id": "1acd9b6f-6154-4b4e-9203-a2c6a0512e94", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.882 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.881Z", "action": "gathered", "update_id": "1acd9b6f-6154-4b4e-9203-a2c6a0512e94", "policies_count": 4}, "exe_task": "node_configure"} 20250906_070511.882 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}} 20250906_070511.882 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2025-09-06T08:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2025-09-06T10:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "property": null, "config": {"policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.881Z", "action": "gathered", "update_id": "1acd9b6f-6154-4b4e-9203-a2c6a0512e94", "policies_count": 4}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.883 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"] 20250906_070511.883 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250906_070511.883 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS44ODNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiNDkzODY5YS0xMjMxLTQ4OTktYTUxZC03NWI3OGE0MTkzODIiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250906_070511.884 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.884 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.883Z", "action": "updated", "update_id": "b493869a-1231-4899-a51d-75b78a419382", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.884 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}] 20250906_070511.884 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250906_070511.885 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.883Z", "action": "updated", "update_id": "b493869a-1231-4899-a51d-75b78a419382", "policies_count": 0}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.885 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20250906_070511.886 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}} 20250906_070511.886 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0wNlQwNzowNToxMS44ODZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI0NzlmNjYzMy1lZmVkLTQ0YzItOGE3Ni1mNjcxZmQ5MTYyMGEiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0wNlQwODowNToxMS41MzBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250906_070511.886 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.887 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}}, "policies_event": {"timestamp": "2025-09-06T07:05:11.886Z", "action": "updated", "update_id": "479f6633-efed-44c2-8a76-f671fd91620a", "policies_count": 2}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml"}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2025-09-06T07:05:11.530Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2025-09-06T10:05:11.530Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2025-09-06T11:05:11.530Z", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml"}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.887 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250906_070511.887 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml"}, "policy_id": "monkeyed.Config_multi_2"} 20250906_070511.887 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2025-09-06T08:05:11.530Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml"}, "policy_id": "monkeyed.Config_peach_2"} 20250906_070511.888 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.909 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.910 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.910 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.910 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.910 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20250906_070511.910 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250906_070511.911 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250906_070511.915 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.915 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250906_070511.915 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"} 20250906_070511.916 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": ""}, "node": {"type": "ms.nodes.type", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}}, "name": "test_ms_name"}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "task_target": null, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {"policy_body": {"responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2025-09-06T09:05:11.530Z", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["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": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "operation": {"retry_number": null, "max_retries": null, "name": null}, "task_queue": null} 20250906_070511.916 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "db_port": "123", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-06T07:05:11.530Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20250906_070511.916 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250906_070511.916 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear