20250830_070504.105 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.107 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.107 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.107 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMTA3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTU2NTVjODEtOTgzNy00ZmMwLTg1ODAtZjA5YTg2ZTI3YWMyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.108 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.107Z", "policies_count": 4, "update_id": "95655c81-9837-4fc0-8580-f09a86e27ac2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.108 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.107Z", "policies_count": 4, "update_id": "95655c81-9837-4fc0-8580-f09a86e27ac2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.108 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.108 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.117 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_070504.118 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.118 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/"}}] 20250830_070504.118 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.119 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.119 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.119 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.127 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 20250830_070504.128 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.131 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.132 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.133 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.133 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMTMzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDMxOGQ1YWQtMWFkYy00ZTAyLWI1NGUtMzE1YWVkM2Y0ZmRlIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.134 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.133Z", "policies_count": 4, "update_id": "4318d5ad-1adc-4e02-b54e-315aed3f4fde"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.134 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.133Z", "policies_count": 4, "update_id": "4318d5ad-1adc-4e02-b54e-315aed3f4fde"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.134 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.134 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.133Z", "policies_count": 4, "update_id": "4318d5ad-1adc-4e02-b54e-315aed3f4fde"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.135 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/"}}] 20250830_070504.135 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.135 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.135 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.133Z", "policies_count": 4, "update_id": "4318d5ad-1adc-4e02-b54e-315aed3f4fde"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.136 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.150 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_070504.150 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.151 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/"}}] 20250830_070504.151 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.151 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.151 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.151 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.158 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.158 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.159 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.159 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.159 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250830_070504.159 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250830_070504.159 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.165 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250830_070504.165 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.166 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.166 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.166 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.166 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.174 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_070504.174 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.175 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/"}}] 20250830_070504.175 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.175 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.175 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.175 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.184 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.185 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.185 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.185 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMTg1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2JjYTk1ZGMtMTQ0ZC00OWFmLTkyNDgtNzdhZWVhOTE4YmMyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.186 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.185Z", "policies_count": 4, "update_id": "cbca95dc-144d-49af-9248-77aeea918bc2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.186 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.185Z", "policies_count": 4, "update_id": "cbca95dc-144d-49af-9248-77aeea918bc2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.186 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.186 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.186 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.186 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_070504.187 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_070504.187 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.187 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.187 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250830_070504.187 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250830_070504.187 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.198 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.199 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.199 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.199 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMTk5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTMxOGVjMjYtMGRkOS00YjQ0LThlZWUtYWJlZGFmYTBmZmU0In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.199 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.199Z", "policies_count": 4, "update_id": "e318ec26-0dd9-4b44-8eee-abedafa0ffe4"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.200 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.199Z", "policies_count": 4, "update_id": "e318ec26-0dd9-4b44-8eee-abedafa0ffe4"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.200 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.200 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.199Z", "policies_count": 4, "update_id": "e318ec26-0dd9-4b44-8eee-abedafa0ffe4"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.201 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250830_070504.201 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_070504.201 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4yMDFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJkMWY4YWZmNC05ZTdiLTRhZDctYWMwZi01YjRmODRkYTE2ZTUifQ=="}}] 20250830_070504.202 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.202 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.201Z", "policies_count": 0, "update_id": "d1f8aff4-9e7b-4ad7-ac0f-5b4f84da16e5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.203 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.201Z", "policies_count": 0, "update_id": "d1f8aff4-9e7b-4ad7-ac0f-5b4f84da16e5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.203 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250830_070504.203 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_070504.203 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.201Z", "policies_count": 0, "update_id": "d1f8aff4-9e7b-4ad7-ac0f-5b4f84da16e5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.204 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250830_070504.204 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.201Z", "policies_count": 0, "update_id": "d1f8aff4-9e7b-4ad7-ac0f-5b4f84da16e5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.204 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.204 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.224 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.225 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.225 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.225 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMjI1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTUwNTI5MWEtOWUxYy00OTRkLTkwZDktZWY4Y2YwMjJkMDQyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.226 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.225Z", "policies_count": 4, "update_id": "5505291a-9e1c-494d-90d9-ef8cf022d042"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.226 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.225Z", "policies_count": 4, "update_id": "5505291a-9e1c-494d-90d9-ef8cf022d042"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.226 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.226 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.225Z", "policies_count": 4, "update_id": "5505291a-9e1c-494d-90d9-ef8cf022d042"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.227 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250830_070504.227 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_070504.227 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4yMjdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJiMmRkMWMxYS00OTlkLTQwMWQtOWRmZC0wOTQ1NDQzZjRmODkifQ=="}}] 20250830_070504.228 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.228 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.227Z", "policies_count": 0, "update_id": "b2dd1c1a-499d-401d-9dfd-0945443f4f89"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.229 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_070504.229 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_070504.229 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.227Z", "policies_count": 0, "update_id": "b2dd1c1a-499d-401d-9dfd-0945443f4f89"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.229 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_070504.230 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_070504.230 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4yMzBaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIwMjM1YzhmNi01M2MwLTRmMzEtYmY5Ni04ODM3MTUzZDYwN2EifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_070504.230 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.231 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.230Z", "policies_count": 2, "update_id": "0235c8f6-53c0-4f31-bf96-8837153d607a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.231 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250830_070504.231 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_070504.231 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.231 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.252 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.253 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.253 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.253 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMjUzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDQ3N2JkNTEtYTU4NC00YTY4LThlYWItMGZiNDUxNjJjOWQ2In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.254 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.253Z", "policies_count": 4, "update_id": "4477bd51-a584-4a68-8eab-0fb45162c9d6"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.254 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.253Z", "policies_count": 4, "update_id": "4477bd51-a584-4a68-8eab-0fb45162c9d6"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.254 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.254 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.253Z", "policies_count": 4, "update_id": "4477bd51-a584-4a68-8eab-0fb45162c9d6"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.255 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250830_070504.255 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_070504.255 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4yNTVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI0ZTA1MGNhZS0xMTZkLTRhZmEtYmQxZS03ZmVkNDM3ODA5NjYifQ=="}}] 20250830_070504.256 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.256 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.255Z", "policies_count": 0, "update_id": "4e050cae-116d-4afa-bd1e-7fed43780966"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.256 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250830_070504.256 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.255Z", "policies_count": 0, "update_id": "4e050cae-116d-4afa-bd1e-7fed43780966"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.257 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.257 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.272 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.273 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.273 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.273 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMjczWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmE0Nzg5ZWEtOWIyZS00ZGEyLWEyNjUtMWQxYTU3YjQwNWUxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.274 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.273Z", "policies_count": 4, "update_id": "6a4789ea-9b2e-4da2-a265-1d1a57b405e1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.274 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.273Z", "policies_count": 4, "update_id": "6a4789ea-9b2e-4da2-a265-1d1a57b405e1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.274 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.275 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.273Z", "policies_count": 4, "update_id": "6a4789ea-9b2e-4da2-a265-1d1a57b405e1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.275 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250830_070504.275 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250830_070504.276 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4yNzVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJkMTgwZjlkYi1jYWUzLTRiZTUtODUyZC1mYzlkYWEwODJjMjEifQ=="}}] 20250830_070504.276 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.276 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.275Z", "policies_count": 0, "update_id": "d180f9db-cae3-4be5-852d-fc9daa082c21"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.277 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250830_070504.277 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_070504.277 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_070504.277 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.275Z", "policies_count": 0, "update_id": "d180f9db-cae3-4be5-852d-fc9daa082c21"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.278 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_070504.278 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_070504.278 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4yNzhaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIwZGNhY2Q4OS1kMGZmLTQ2YjktOTQ3Zi1lM2E0MTJmOTZhOTIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_070504.278 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.279 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.278Z", "policies_count": 2, "update_id": "0dcacd89-d0ff-46b9-947f-e3a412f96a92"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250830_070504.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_070504.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.280 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.299 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250830_070504.300 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.300 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/"}}] 20250830_070504.300 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.300 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.301 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.301 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.309 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.310 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.310 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.310 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMzEwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWNkNWQ3MTItYWJkNy00NDdmLWI0NDMtNzRkYmIwYWU0ODIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.311 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.310Z", "policies_count": 4, "update_id": "1cd5d712-abd7-447f-b443-74dbb0ae4821"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.311 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.310Z", "policies_count": 4, "update_id": "1cd5d712-abd7-447f-b443-74dbb0ae4821"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.311 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.311 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.310Z", "policies_count": 4, "update_id": "1cd5d712-abd7-447f-b443-74dbb0ae4821"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.312 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/"}}] 20250830_070504.312 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.312 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.312 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.310Z", "policies_count": 4, "update_id": "1cd5d712-abd7-447f-b443-74dbb0ae4821"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.313 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.327 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.328 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.328 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.329 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMzI5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjAzZWY3Y2MtNmM5Mi00ZmE4LWIyOTItNmJlMDNmMWNlYmU3In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.329 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.329Z", "policies_count": 4, "update_id": "203ef7cc-6c92-4fa8-b292-6be03f1cebe7"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.330 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.329Z", "policies_count": 4, "update_id": "203ef7cc-6c92-4fa8-b292-6be03f1cebe7"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.330 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.330 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_070504.330 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_070504.330 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.329Z", "policies_count": 4, "update_id": "203ef7cc-6c92-4fa8-b292-6be03f1cebe7"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.331 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_070504.331 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_070504.331 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4zMzFaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI2YmI1ZTcwOC1lN2E1LTQzMWQtOTI3OS03MDQxMDI3NTRlNjIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_070504.332 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.332 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.331Z", "policies_count": 4, "update_id": "6bb5e708-e7a5-431d-9279-704102754e62"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.333 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250830_070504.333 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_070504.333 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.333 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.333 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.333 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.334 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_070504.334 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.350 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.350 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) 20250830_070504.350 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) 20250830_070504.350 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.355 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.356 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.356 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.357 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMzU2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWZjNDc0N2YtMzM4Ny00MzIwLTkwZjYtZTFlNjVkNDI2MTFhIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.357 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.356Z", "policies_count": 4, "update_id": "9fc4747f-3387-4320-90f6-e1e65d42611a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.357 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.356Z", "policies_count": 4, "update_id": "9fc4747f-3387-4320-90f6-e1e65d42611a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.358 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.358 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_070504.358 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_070504.358 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.356Z", "policies_count": 4, "update_id": "9fc4747f-3387-4320-90f6-e1e65d42611a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.358 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_070504.359 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_070504.359 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4zNTlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJhNWFmMjhjMC0yZDJmLTRiOTktYjMyZi0xZjA2NGE1MmVjZmMifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_070504.360 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.360 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.359Z", "policies_count": 4, "update_id": "a5af28c0-2d2f-4b99-b32f-1f064a52ecfc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.360 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250830_070504.360 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_070504.361 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.361 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.361 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.361 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.361 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_070504.361 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.376 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 20250830_070504.376 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.379 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.379 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250830_070504.379 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.380 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250830_070504.380 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.384 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.385 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.386 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.386 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMzg2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjFjMjAxMTgtYTlmYy00NzZjLThmYTYtOGZkMWEzYzkwZTdhIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.386 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.386Z", "policies_count": 4, "update_id": "61c20118-a9fc-476c-8fa6-8fd1a3c90e7a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.387 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.386Z", "policies_count": 4, "update_id": "61c20118-a9fc-476c-8fa6-8fd1a3c90e7a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.387 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.387 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_070504.387 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_070504.388 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.386Z", "policies_count": 4, "update_id": "61c20118-a9fc-476c-8fa6-8fd1a3c90e7a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.388 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_070504.388 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_070504.388 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC4zODhaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwOGEzMTk2ZS02ODY2LTQ3YzMtOGRkOC03Mjk5MzdkZTM5YzEifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04ifQ=="}}] 20250830_070504.389 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.389 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.388Z", "policies_count": 4, "update_id": "08a3196e-6866-47c3-8dd8-729937de39c1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.390 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250830_070504.390 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_070504.390 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.390 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.390 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.390 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.391 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_070504.391 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.405 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.405 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.406 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.406 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.406 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250830_070504.406 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250830_070504.406 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.411 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250830_070504.412 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.412 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250830_070504.412 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.412 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.412 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete", "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.413 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.420 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.420 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) 20250830_070504.420 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) 20250830_070504.420 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.425 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.426 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.426 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.426 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuNDI2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjdmM2Q2M2EtZGRkNS00YTIyLWI0MDAtY2QwYTZlMWU2ZjY5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.427 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.426Z", "policies_count": 4, "update_id": "27f3d63a-ddd5-4a22-b400-cd0a6e1e6f69"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.427 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.426Z", "policies_count": 4, "update_id": "27f3d63a-ddd5-4a22-b400-cd0a6e1e6f69"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.427 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.427 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250830_070504.427 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250830_070504.428 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.426Z", "policies_count": 4, "update_id": "27f3d63a-ddd5-4a22-b400-cd0a6e1e6f69"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.428 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250830_070504.428 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250830_070504.429 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0zMFQwNzowNTowNC40MjhaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwODM4MTM2Zi03YmUwLTQ0NjAtYTFiZC1jODRlOGM4YmI2ZGEifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQwODowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250830_070504.429 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.430 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-08-30T07:05:04.428Z", "policies_count": 4, "update_id": "0838136f-7be0-4460-a1bd-c84e8c8bb6da"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.430 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250830_070504.430 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250830_070504.430 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250830_070504.430 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.431 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.431 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250830_070504.431 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250830_070504.431 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250830_070504.447 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.448 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250830_070504.448 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.448 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuNDQ4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzBhYzIyNTMtODljNC00YmVmLTk2MDgtY2NhYTRiODEzZjRhIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMTA6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMzBUMDc6MDU6MDQuMDc4WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0zMFQxMDowNTowNC4wNzhaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTMwVDA4OjA1OjA0LjA3OFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}] 20250830_070504.449 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.448Z", "policies_count": 4, "update_id": "c0ac2253-89c4-4bef-9608-ccaa4b813f4a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.449 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.448Z", "policies_count": 4, "update_id": "c0ac2253-89c4-4bef-9608-ccaa4b813f4a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.449 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.449 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.450 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}] 20250830_070504.450 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.448Z", "policies_count": 4, "update_id": "c0ac2253-89c4-4bef-9608-ccaa4b813f4a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.450 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20250830_070504.451 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}} 20250830_070504.451 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}]} 20250830_070504.451 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "instance": {"runtime_properties": {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.448Z", "policies_count": 4, "update_id": "c0ac2253-89c4-4bef-9608-ccaa4b813f4a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-30T09:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-30T11:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "task_queue": null, "type": "node-instance", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null} 20250830_070504.451 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-08-30T07:05:04.448Z", "policies_count": 4, "update_id": "c0ac2253-89c4-4bef-9608-ccaa4b813f4a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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"}}, "application_config": {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "exe_task": "node_configure"} 20250830_070504.452 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-30T07:05:04.078Z", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-30T10:05:04.078Z", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-30T08:05:04.078Z", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250830_070504.452 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-08-30T07:05:04.078Z", "db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1"} 20250830_070504.452 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear